<template>
  <div class="signature flexC">
    <line-title v-if="title" :title="data.label" />
    <span v-for="(item, index) in data.list" :key="index" class="flexC">{{ item }}</span>
  </div>
</template>

<script lang="ts" setup>
  import LineTitle from '@comp/LineTitle/LineTitle.vue'
  withDefaults(
    defineProps<{
      data: any
      title: boolean
    }>(),
    {
      data: () => {},
      title: true
    }
  )
</script>

<style lang="scss" scoped>
  .signature {
    margin-top: 20px;
    width: 100%;
    flex-direction: column;

    > span {
      @extend %about-text;
    }
  }
</style>
